<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>
        Demo for QQ登录oauth2.0
    </title>
    <script type="text/javascript">
        var childWindow;
        function toQzoneLogin()
        {
            childWindow = window.open("http://www.taoerhuo.top/bishe/public/index.php/index/Partlogin/openQQ","TencentLogin","width=850,height=620,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
        }

        function closeChildWindow()
        {
            childWindow.close();
        }
    </script>
</head>
<body>
<br><br>
<a href="#" onclick='toQzoneLogin()'><img src="http://www.taoerhuo.top/bishe/public/image/tao.png"></a>
</body>
</html>
